home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carousel Volume 2 #1
/
carousel.iso
/
mactosh
/
hc
/
xfcn_cru.sit
/
Crunch XFCN
/
background_2777.txt
< prev
next >
Wrap
Text File
|
1988-01-25
|
3KB
|
164 lines
-- background: 2777 from stack: in
-- bmap block id: 2383
-- flags: 4000
-- background id: 0
-- name:
-- part 147 (field)
-- low flags: 81
-- high flags: 0007
-- rect: left=78 top=27 right=80 bottom=146
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 4
-- text size: 9
-- style flags: 0
-- line height: 10
-- part name: Antecedent codes
-- part 148 (field)
-- low flags: 81
-- high flags: 0007
-- rect: left=366 top=27 right=80 bottom=434
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 4
-- text size: 9
-- style flags: 0
-- line height: 10
-- part name: Consequent codes
-- part 51 (field)
-- low flags: 01
-- high flags: 2007
-- rect: left=391 top=94 right=329 bottom=502
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Recipient
-- part 157 (button)
-- low flags: 00
-- high flags: 2002
-- rect: left=0 top=49 right=80 bottom=39
-- title width / last selected line: 0
-- icon id / first selected line: 20098 / 20098
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Home
----- HyperTalk script -----
on mouseUp
go home
end mouseUp
-- part 160 (button)
-- low flags: 00
-- high flags: 0002
-- rect: left=473 top=49 right=80 bottom=512
-- title width / last selected line: 0
-- icon id / first selected line: 2478 / 2478
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Aboutâ•”
----- HyperTalk script -----
on mouseUp
push card
visual zoom out
go to card 1
set the hilite of bkgnd button id 160 to true
show card field "About"
wait until the mouse is down
wait until the mouse is up
hide card field "About"
set the hilite of bkgnd button id 160 to false
visual zoom in
pop card
end mouseUp
-- part 163 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=126 top=278 right=308 bottom=227
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Crunch XFCN
----- HyperTalk script -----
on mouseUp
set cursor to 4
put empty into field "recipient" -- to show speed
put crunch(field "source") into field "recipient"
end mouseUp
-- part 166 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=125 top=244 right=274 bottom=226
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Crunch Script
----- HyperTalk script -----
on mouseUp
set cursor to 4
put empty into field "Recipient"
put crunch(field "source") into field "recipient"
end mouseUp
-- Crunch, in script form
function crunch afield
put 1 into l
repeat until l > (the number of lines in afield)
if line l of afield is empty
then delete line l of afield
else add 1 to l
end repeat
return afield
end crunch
-- part 167 (field)
-- low flags: 00
-- high flags: 2007
-- rect: left=256 top=94 right=329 bottom=367
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Source